<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>top</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">  
	<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	
    <!-- 1. 导入CSS的全局样式 -->
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <!-- 2. jQuery导入，建议使用1.9以上的版本 -->
    <script src="js/jquery-2.1.0.min.js"></script>
    <!-- 3. 导入bootstrap的js文件 -->
    <script src="js/bootstrap.min.js"></script>
    <!--导入jquery-->
	<script src="js/jquery-3.3.1.js"></script>
<style type="text/css">
td, th {
	text-align: center;
}

.div2{position: absolute;bottom: 0;height:39px;}

</style>

<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>

<body style="background: rgb(78,78,78);color: white;">
	<div class="div1">
		<div>
			<h1 style="text-align: center; ">网络图书商城--后台管理</h1>
		<%-- </div>
			<div style="float: left;" class="div2">

				<form class="form-inline"
					action="${pageContext.request.contextPath}/selectServlet"
					method="post">
					<input type="hidden" name="method" value="select"/>
					<div class="form-group">
						<label for="exampleInputName2">分类</label> <input type="text"
							name="cname" value="${cname}" class="form-control"
							id="exampleInputName2" style="width: 100px;height:30px;">
					</div>
					<div class="form-group">
						<label for="exampleInputName3">图书</label> <input type="text"
							name="bname" value="${bname}" class="form-control"
							id="exampleInputName3" style="width: 100px;height:30px;">
					</div>

					<div class="form-group">
						<label for="exampleInputEmail2">用户</label> <input type="text"
							name="username" value="${condition.username[0]}" class="form-control"
							id="exampleInputEmail2" style="width: 100px;height:30px;">
					</div>
					<button type="submit" id="select" class="btn btn-default" style="height:30px;">查询</button>
				</form>
			</div>

		</div> --%>

		<div style="float: right; ">
			<p style="font-size: 10pt;">管理员：${sessionScope.session_admin.adminname }</p>
			<button type="button" class="btn btn-default" >
				<a href="<c:url value='/AdminServlet?method=exit'/>" target="_top"
					style="color: red">退出登录</a>
			</button>
		</div>
	</div>

</body>
</html>
